<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			// 可以把 sessionStorage 看成是个对象 ，也就是说 sessionStorage = {name:'zhangsan'};
			sessionStorage.name = 'zhangsan';
			var a = sessionStorage.name;
			console.log(a);
			// 
			//localStorage.setItem('name','中国');
			localStorage.age = '70';
		</script>
	</body>
</html>